package com.appspot.didit.client.workitem;

import com.google.gwt.event.shared.GwtEvent;

public class WorkitemsLoadedEvent extends GwtEvent<WorkitemsLoadedHandler> {

    private static Type<WorkitemsLoadedHandler> TYPE;

    public static Type<WorkitemsLoadedHandler> getType() {
            return TYPE != null ? TYPE
                            : (TYPE = new Type<WorkitemsLoadedHandler>());
    }

    public WorkitemsLoadedEvent() {
    }

    @Override
    public final Type<WorkitemsLoadedHandler> getAssociatedType() {
            return getType();
    }

    @Override
    protected void dispatch(WorkitemsLoadedHandler handler) {
            handler.onWorkitemsLoaded(this);
    }

}